*"* use this source file for any type of declarations (class
*"* definitions, interfaces or type declarations) you need for
*"* components in the private section
    " 数据定义
    TYPES: BEGIN OF t_user_fields,
             fieldname TYPE string,
             value     TYPE string,
           END OF t_user_fields.

    TYPES: tt_user_fields TYPE STANDARD TABLE OF t_user_fields WITH DEFAULT KEY.

    TYPES: BEGIN OF ty_json,
             itemcode       TYPE string,
             itemname       TYPE string,
             invntryuom     TYPE string,
             mode           TYPE string,
             itemsgroupcode TYPE string,
             userfields     TYPE tt_user_fields,
           END OF ty_json.

    TYPES:BEGIN OF ty_msg,
            state    TYPE string,
            errormsg TYPE string,
            data     TYPE string,
          END OF ty_msg.
